package com.zhiyou100.pra;


public class Test {
    public static void main(String[] args) {
        Musical musical = new Musical();
        musical.setName("郎朗");
        musical.play(new Erhu("二胡"));
        musical.play(new Piano("钢琴"));
        musical.play(new Violin("小提琴"));
    }
}
